#ifndef __WEBPAGESEARCHER__YR__
#define __WEBPAGESEARCHER__YR__

#include<string>
#include <memory>
#include<vector>
//#include "../include/SplitTool.h"
//#include "../Reactor/json.h"
//using nlohmann::json;
using std::vector;
using std::string;
using std::shared_ptr;
using std::vector;


// 前向声明
//class TcpConnection;
class SplitToolCppJieba;

class WebPageSearcher 
{
public:

    // 构造函数
    WebPageSearcher(const string& keys/* , const shared_ptr<const TcpConnection>& conn */);
    // 执行查询
    void doQuery(SplitToolCppJieba& jieba);
    vector<string> _vec_result;
    string _str_result;
private:
    string _sought; // 查询关键词
    //shared_ptr<const TcpConnection> _conn;  // TcpConnection 对象
    //SplitToolCppJieba&  _jieba;             // Jieba 分词库对象
};


#endif